package com.ruoyi.project.erp.setupbill.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 setupbill
 * 
 * @author ruoyi
 * @date 2020-08-31
 */
public class Setupbill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 施工单日期 */
    @Excel(name = "施工单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ddate;

    /** 施工单单号 */
    @Excel(name = "施工单单号")
    private String code;

    /** 施工单种类 */
    @Excel(name = "施工单种类")
    private String ctype;

    /** VIN码 */
    @Excel(name = "VIN码")
    private String vin;

    /** VIN图片 */
    @Excel(name = "VIN图片")
    private String vinpic;

    /** 车型 */
    @Excel(name = "车型")
    private String carstd;

    /** 施工人员 */
    @Excel(name = "施工人员")
    private String setupemp;

    /** 安装后的图片 */
    @Excel(name = "安装后的图片")
    private String setuppic;

    /** 施工单状态（保存，审核） */
    @Excel(name = "施工单状态", readConverterExp = "保=存，审核")
    private String st;

    /** 施工时间 */
    @Excel(name = "施工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sysdt;

    /** 施工单保存人员 */
    @Excel(name = "施工单保存人员")
    private String emp;

    /** 施工单审核人员 */
    @Excel(name = "施工单审核人员")
    private String creditemp;

    /** 施工单审核时间 */
    @Excel(name = "施工单审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creditdt;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;


    private String shop;
    @Excel(name = "门店")
    private String shopname;

    /** 表头的单号 */
    @Excel(name = "表头的单号")
    private String mcode;

    /** 产品代码 */
    @Excel(name = "产品代码")
    private String pcode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String pname;

    /** 产品规格 */
    @Excel(name = "产品规格")
    private String pstd;

    /** 单位 */
    @Excel(name = "单位")
    private String punit;

    /** 施工单数量 */
    @Excel(name = "数量")
    private int qty;

    /** 备注 */
    @Excel(name = "备注")
    private String smemo;

    /** 售后类型 */
    @Excel(name = "售后类型")
    private String salectype;


    /** 售后次数 */
    @Excel(name = "售后次数")
    private int saleserviceTimes;

    /** 是否存在换货 */
    @Excel(name = "是否存在换货")
    private String isChangeProduct;

    /** 换货是否处理 */
    @Excel(name = "换货是否处理")
    private String isChangeDeal;

    /**施工保护图片*/
    private String protectpic;
    /***/
    private String effectspic;

    private String kingSt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDdate(Date ddate) 
    {
        this.ddate = ddate;
    }

    public Date getDdate() 
    {
        return ddate;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setCtype(String ctype) 
    {
        this.ctype = ctype;
    }

    public String getCtype() 
    {
        return ctype;
    }
    public void setVin(String vin) 
    {
        this.vin = vin;
    }

    public String getVin() 
    {
        return vin;
    }
    public void setVinpic(String vinpic) 
    {
        this.vinpic = vinpic;
    }

    public String getVinpic() 
    {
        return vinpic;
    }
    public void setCarstd(String carstd) 
    {
        this.carstd = carstd;
    }

    public String getCarstd() 
    {
        return carstd;
    }
    public void setSetupemp(String setupemp) 
    {
        this.setupemp = setupemp;
    }

    public String getSetupemp() 
    {
        return setupemp;
    }
    public void setSetuppic(String setuppic) 
    {
        this.setuppic = setuppic;
    }

    public String getSetuppic() 
    {
        return setuppic;
    }
    public void setSt(String st) 
    {
        this.st = st;
    }

    public String getSt() 
    {
        return st;
    }
    public void setSysdt(Date sysdt) 
    {
        this.sysdt = sysdt;
    }

    public Date getSysdt() 
    {
        return sysdt;
    }
    public void setEmp(String emp) 
    {
        this.emp = emp;
    }

    public String getEmp() 
    {
        return emp;
    }
    public void setCreditemp(String creditemp) 
    {
        this.creditemp = creditemp;
    }

    public String getCreditemp() 
    {
        return creditemp;
    }
    public void setCreditdt(Date creditdt) 
    {
        this.creditdt = creditdt;
    }

    public Date getCreditdt() 
    {
        return creditdt;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ddate", getDdate())
            .append("code", getCode())
            .append("ctype", getCtype())
            .append("vin", getVin())
            .append("vinpic", getVinpic())
            .append("carstd", getCarstd())
            .append("setupemp", getSetupemp())
            .append("setuppic", getSetuppic())
            .append("st", getSt())
            .append("sysdt", getSysdt())
            .append("emp", getEmp())
            .append("creditemp", getCreditemp())
            .append("creditdt", getCreditdt())
            .append("memo", getMemo())
            .toString();
    }

    public String getShop() {
        return shop;
    }

    public void setShop(String shop) {
        this.shop = shop;
    }

    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }

    public String getMcode() {
        return mcode;
    }

    public void setMcode(String mcode) {
        this.mcode = mcode;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPstd() {
        return pstd;
    }

    public void setPstd(String pstd) {
        this.pstd = pstd;
    }

    public String getPunit() {
        return punit;
    }

    public void setPunit(String punit) {
        this.punit = punit;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    public String getSmemo() {
        return smemo;
    }

    public void setSmemo(String smemo) {
        this.smemo = smemo;
    }

    public String getSalectype() {
        return salectype;
    }

    public void setSalectype(String salectype) {
        this.salectype = salectype;
    }

    public int getSaleserviceTimes() {
        return saleserviceTimes;
    }

    public void setSaleserviceTimes(int saleserviceTimes) {
        this.saleserviceTimes = saleserviceTimes;
    }

    public String getIsChangeProduct() {
        return isChangeProduct;
    }

    public void setIsChangeProduct(String isChangeProduct) {
        this.isChangeProduct = isChangeProduct;
    }

    public String getIsChangeDeal() {
        return isChangeDeal;
    }

    public void setIsChangeDeal(String isChangeDeal) {
        this.isChangeDeal = isChangeDeal;
    }

    public String getProtectpic() {
        return protectpic;
    }

    public void setProtectpic(String protectpic) {
        this.protectpic = protectpic;
    }

    public String getEffectspic() {
        return effectspic;
    }

    public void setEffectspic(String effectspic) {
        this.effectspic = effectspic;
    }

    public String getKingSt() {
        return kingSt;
    }

    public void setKingSt(String kingSt) {
        this.kingSt = kingSt;
    }
}
